{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genStepsProgressDotStyle = function genStepsProgressDotStyle(token) {\n  var _$concat, _$concat2, _$concat$concat, _ref;\n  var componentCls = token.componentCls,\n    descriptionWidth = token.descriptionWidth,\n    lineHeight = token.lineHeight,\n    stepsCurrentDotSize = token.stepsCurrentDotSize,\n    stepsDotSize = token.stepsDotSize,\n    motionDurationSlow = token.motionDurationSlow;\n  return _ref = {}, _defineProperty(_ref, \"&\".concat(componentCls, \"-dot, &\").concat(componentCls, \"-dot\").concat(componentCls, \"-small\"), _defineProperty({}, \"\".concat(componentCls, \"-item\"), (_$concat = {\n    '&-title': {\n      lineHeight: lineHeight\n    },\n    '&-tail': {\n      top: Math.floor((token.stepsDotSize - token.lineWidth * 3) / 2),\n      width: '100%',\n      marginTop: 0,\n      marginBottom: 0,\n      marginInline: \"\".concat(descriptionWidth / 2, \"px 0\"),\n      padding: 0,\n      '&::after': {\n        width: \"calc(100% - \".concat(token.marginSM * 2, \"px)\"),\n        height: token.lineWidth * 3,\n        marginInlineStart: token.marginSM\n      }\n    },\n    '&-icon': _defineProperty({\n      width: stepsDotSize,\n      height: stepsDotSize,\n      marginInlineStart: (token.descriptionWidth - stepsDotSize) / 2,\n      paddingInlineEnd: 0,\n      lineHeight: \"\".concat(stepsDotSize, \"px\"),\n      background: 'transparent',\n      border: 0\n    }, \"\".concat(componentCls, \"-icon-dot\"), {\n      position: 'relative',\n      float: 'left',\n      width: '100%',\n      height: '100%',\n      borderRadius: 100,\n      transition: \"all \".concat(motionDurationSlow),\n      /* expand hover area */\n      '&::after': {\n        position: 'absolute',\n        top: -token.marginSM,\n        insetInlineStart: (stepsDotSize - token.controlHeightLG * 1.5) / 2,\n        width: token.controlHeightLG * 1.5,\n        height: token.controlHeight,\n        background: 'transparent',\n        content: '\"\"'\n      }\n    }),\n    '&-content': {\n      width: descriptionWidth\n    }\n  }, _defineProperty(_$concat, \"&-process \".concat(componentCls, \"-item-icon\"), {\n    position: 'relative',\n    top: (stepsDotSize - stepsCurrentDotSize) / 2,\n    width: stepsCurrentDotSize,\n    height: stepsCurrentDotSize,\n    lineHeight: \"\".concat(stepsCurrentDotSize, \"px\"),\n    background: 'none',\n    marginInlineStart: (token.descriptionWidth - stepsCurrentDotSize) / 2\n  }), _defineProperty(_$concat, \"&-process \".concat(componentCls, \"-icon\"), _defineProperty({}, \"&:first-child \".concat(componentCls, \"-icon-dot\"), {\n    insetInlineStart: 0\n  })), _$concat))), _defineProperty(_ref, \"&\".concat(componentCls, \"-vertical\").concat(componentCls, \"-dot\"), (_$concat$concat = {}, _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item-icon\"), {\n    marginTop: (token.controlHeight - stepsDotSize) / 2,\n    marginInlineStart: 0,\n    background: 'none'\n  }), _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item-process \").concat(componentCls, \"-item-icon\"), {\n    marginTop: (token.controlHeight - stepsCurrentDotSize) / 2,\n    top: 0,\n    insetInlineStart: (stepsDotSize - stepsCurrentDotSize) / 2,\n    marginInlineStart: 0\n  }), _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item > \").concat(componentCls, \"-item-container > \").concat(componentCls, \"-item-tail\"), {\n    top: (token.controlHeight - stepsDotSize) / 2,\n    insetInlineStart: 0,\n    margin: 0,\n    padding: \"\".concat(stepsDotSize + token.paddingXS, \"px 0 \").concat(token.paddingXS, \"px\"),\n    '&::after': {\n      marginInlineStart: (stepsDotSize - token.lineWidth) / 2\n    }\n  }), _defineProperty(_$concat$concat, \"&\".concat(componentCls, \"-small\"), (_$concat2 = {}, _defineProperty(_$concat2, \"\".concat(componentCls, \"-item-icon\"), {\n    marginTop: (token.controlHeightSM - stepsDotSize) / 2\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-item-process \").concat(componentCls, \"-item-icon\"), {\n    marginTop: (token.controlHeightSM - stepsCurrentDotSize) / 2\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-item > \").concat(componentCls, \"-item-container > \").concat(componentCls, \"-item-tail\"), {\n    top: (token.controlHeightSM - stepsDotSize) / 2\n  }), _$concat2)), _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item:first-child \").concat(componentCls, \"-icon-dot\"), {\n    insetInlineStart: 0\n  }), _defineProperty(_$concat$concat, \"\".concat(componentCls, \"-item-content\"), {\n    width: 'inherit'\n  }), _$concat$concat)), _ref;\n};\nexport default genStepsProgressDotStyle;","map":{"version":3,"names":["genStepsProgressDotStyle","token","componentCls","descriptionWidth","lineHeight","stepsCurrentDotSize","stepsDotSize","motionDurationSlow","top","Math","floor","lineWidth","width","marginTop","marginBottom","marginInline","padding","marginSM","height","marginInlineStart","paddingInlineEnd","background","border","position","float","borderRadius","transition","insetInlineStart","controlHeightLG","controlHeight","content","margin","paddingXS","controlHeightSM"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/steps/style/progress-dot.js"],"sourcesContent":["const genStepsProgressDotStyle = token => {\n  const {\n    componentCls,\n    descriptionWidth,\n    lineHeight,\n    stepsCurrentDotSize,\n    stepsDotSize,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n      [`${componentCls}-item`]: {\n        '&-title': {\n          lineHeight\n        },\n        '&-tail': {\n          top: Math.floor((token.stepsDotSize - token.lineWidth * 3) / 2),\n          width: '100%',\n          marginTop: 0,\n          marginBottom: 0,\n          marginInline: `${descriptionWidth / 2}px 0`,\n          padding: 0,\n          '&::after': {\n            width: `calc(100% - ${token.marginSM * 2}px)`,\n            height: token.lineWidth * 3,\n            marginInlineStart: token.marginSM\n          }\n        },\n        '&-icon': {\n          width: stepsDotSize,\n          height: stepsDotSize,\n          marginInlineStart: (token.descriptionWidth - stepsDotSize) / 2,\n          paddingInlineEnd: 0,\n          lineHeight: `${stepsDotSize}px`,\n          background: 'transparent',\n          border: 0,\n          [`${componentCls}-icon-dot`]: {\n            position: 'relative',\n            float: 'left',\n            width: '100%',\n            height: '100%',\n            borderRadius: 100,\n            transition: `all ${motionDurationSlow}`,\n            /* expand hover area */\n            '&::after': {\n              position: 'absolute',\n              top: -token.marginSM,\n              insetInlineStart: (stepsDotSize - token.controlHeightLG * 1.5) / 2,\n              width: token.controlHeightLG * 1.5,\n              height: token.controlHeight,\n              background: 'transparent',\n              content: '\"\"'\n            }\n          }\n        },\n        '&-content': {\n          width: descriptionWidth\n        },\n        [`&-process ${componentCls}-item-icon`]: {\n          position: 'relative',\n          top: (stepsDotSize - stepsCurrentDotSize) / 2,\n          width: stepsCurrentDotSize,\n          height: stepsCurrentDotSize,\n          lineHeight: `${stepsCurrentDotSize}px`,\n          background: 'none',\n          marginInlineStart: (token.descriptionWidth - stepsCurrentDotSize) / 2\n        },\n        [`&-process ${componentCls}-icon`]: {\n          [`&:first-child ${componentCls}-icon-dot`]: {\n            insetInlineStart: 0\n          }\n        }\n      }\n    },\n    [`&${componentCls}-vertical${componentCls}-dot`]: {\n      [`${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - stepsDotSize) / 2,\n        marginInlineStart: 0,\n        background: 'none'\n      },\n      [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - stepsCurrentDotSize) / 2,\n        top: 0,\n        insetInlineStart: (stepsDotSize - stepsCurrentDotSize) / 2,\n        marginInlineStart: 0\n      },\n      // https://github.com/ant-design/ant-design/issues/18354\n      [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        top: (token.controlHeight - stepsDotSize) / 2,\n        insetInlineStart: 0,\n        margin: 0,\n        padding: `${stepsDotSize + token.paddingXS}px 0 ${token.paddingXS}px`,\n        '&::after': {\n          marginInlineStart: (stepsDotSize - token.lineWidth) / 2\n        }\n      },\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - stepsDotSize) / 2\n        },\n        [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - stepsCurrentDotSize) / 2\n        },\n        [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          top: (token.controlHeightSM - stepsDotSize) / 2\n        }\n      },\n      [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n        insetInlineStart: 0\n      },\n      [`${componentCls}-item-content`]: {\n        width: 'inherit'\n      }\n    }\n  };\n};\nexport default genStepsProgressDotStyle;"],"mappings":";AAAA,IAAMA,wBAAwB,GAAG,SAA3BA,wBAAwB,CAAGC,KAAK,EAAI;EAAA;EACxC,IACEC,YAAY,GAMVD,KAAK,CANPC,YAAY;IACZC,gBAAgB,GAKdF,KAAK,CALPE,gBAAgB;IAChBC,UAAU,GAIRH,KAAK,CAJPG,UAAU;IACVC,mBAAmB,GAGjBJ,KAAK,CAHPI,mBAAmB;IACnBC,YAAY,GAEVL,KAAK,CAFPK,YAAY;IACZC,kBAAkB,GAChBN,KAAK,CADPM,kBAAkB;EAEpB,mDACOL,YAAY,oBAAUA,YAAY,iBAAOA,YAAY,2CACpDA,YAAY;IACd,SAAS,EAAE;MACTE,UAAU,EAAVA;IACF,CAAC;IACD,QAAQ,EAAE;MACRI,GAAG,EAAEC,IAAI,CAACC,KAAK,CAAC,CAACT,KAAK,CAACK,YAAY,GAAGL,KAAK,CAACU,SAAS,GAAG,CAAC,IAAI,CAAC,CAAC;MAC/DC,KAAK,EAAE,MAAM;MACbC,SAAS,EAAE,CAAC;MACZC,YAAY,EAAE,CAAC;MACfC,YAAY,YAAKZ,gBAAgB,GAAG,CAAC,SAAM;MAC3Ca,OAAO,EAAE,CAAC;MACV,UAAU,EAAE;QACVJ,KAAK,wBAAiBX,KAAK,CAACgB,QAAQ,GAAG,CAAC,QAAK;QAC7CC,MAAM,EAAEjB,KAAK,CAACU,SAAS,GAAG,CAAC;QAC3BQ,iBAAiB,EAAElB,KAAK,CAACgB;MAC3B;IACF,CAAC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